<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body style="text-align: center">
<div>
    <form action="/user" method="post">
        <input type="hidden" name="action" value="signup">
        <input type="text" name="username" placeholder="username"><br>
        <input type="password" name="password" placeholder="password"><br>
        <input type="submit" value="Sign Up">
    </form>
    <a href="./signin.html">Sing In</a>
    <p style="background: red">
        <%
          String message = (String) request.getSession().getAttribute("message");
          if ( message != null){
              out.println(message);
          }
        %>
    </p>

</div>

</body>
</html>